<template>
	<view class="configFontsize">
    <div class="topSeachr">
      <div class="leftBox">
        商品分类
      </div>
      <div class="inputSeach" @click="toSearch">
        <div class="icon"><u-icon name="search" color="#000" size="18"></u-icon></div>
        <div class="word">搜索商品</div>
      </div>
    </div>
    <div class="sortContent">
      <div class="leftBoxList">
        <leftList/>
      </div>
      <div class="rightBoxList">
        <rightList/>
      </div>
    </div>
	</view>
</template>

<script>
import leftList from './compents/leftList';
import rightList from './compents/rightList';
	export default {
		data() {
			return {
				
			}
		},
    components: {
      leftList,
      rightList
    },
		methods: {
			toSearch(){
        uni.navigateTo({
          url: '/pagesSon/search/search'
        });
      }
		}
	}
</script>

<style scope lang="scss">
  @import "@/common/configStyle.scss";

  .configFontsize {
    font-size: $ruyi-config-fontsize;
    background-color: #fff;
  }
  .topSeachr {
    width: 100%;
    display: flex;
    height: 100rpx;
    line-height: 100rpx;
    text-align: center;
    .leftBox {
      width: 30%;
    }
    .inputSeach {
      width: 68%;
      margin-right: 2%;
      margin-top: 25rpx;
      height: 50rpx;
      line-height: 50rpx;
      border-radius: 40px;
      background-color: $ruyi-config-backColor;
      display: flex;
      .icon {
        margin: 10rpx;
      }
      .word {
        color: #8a8a8a;
        line-height: 50rpx;
      }
    }
  }
  .sortContent {
    display: flex;
    width: 100%;
    .leftBoxList {
      width: 30%;
      min-height: calc(100vh - 100rpx);
      background-color: $ruyi-config-backColor;
    }
    .rightBoxList {
      width: 68%;
      margin-right: 2%;
    }
  }
</style>
